package com.hare.system_api.vo;


import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @program: Hare
 * @description: 后台管理=>角色响应参数
 * @author: Hare
 * @create: 2022-12-06 10:35
 * @Version 6.0.1
 **/
@Data
@Accessors(chain = true)
//@ApiModel("角色响应参数")
public class SysRoleVO {

    //@ApiModelProperty("角色id")
    private String id;

    //@ApiModelProperty("角色名称")
    private String roleName;

    //@ApiModelProperty("角色状态")
    private  Integer status;

   // @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    //@ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    //@ApiModelProperty("创建者")
    private String createBy;

//    private final static String ADMIN="68f7d27c5b8311ed81ea525400cfb560";
//
//    @JsonIgnore
//    public boolean isAdmin()
//    {
//        return isAdmin(this.id);
//    }
//    public static boolean isAdmin(String roleId)
//    {
//        return StrUtil.isNotEmpty(roleId) && ADMIN.equals(roleId);
//    }
}